<?php

use yii\db\Migration;

/**
 * Class m180103_085616_add_project_pre_evaluation_interview
 */
class m180103_085616_add_project_pre_evaluation_interview extends Migration
{
    /**
     * @inheritdoc
     */
    public function safeUp()
    {
        $this->addColumn('project_pre_evaluation_interview','lease_info',$this->text()->comment('租赁/租赁时间/租赁缴纳'));
    }

    /**
     * @inheritdoc
     */
    public function safeDown()
    {
        echo "m180103_085616_add_project_pre_evaluation_interview cannot be reverted.\n";

        return false;
    }

    /*
    // Use up()/down() to run migration code without a transaction.
    public function up()
    {

    }

    public function down()
    {
        echo "m180103_085616_add_project_pre_evaluation_interview cannot be reverted.\n";

        return false;
    }
    */
}
